The Sort-Permute transformation creates a new dataset in which the observations of a selected variable in the current dataset (or of the current dataset's labels, if desired) are sorted into order, and the remaining variables are permuted accordingly. 

Sorting is  done in ascending order (from small to large, or in the case of category variables, alphabetically) by default, or in descending order if desired.
